package com.gc.server.service;

import com.gc.server.entity.DayOffEntity;
import com.gc.server.vo.DayOffVo;
import com.yf.service.BaseService;

import javax.servlet.http.HttpServletResponse;
import java.util.Date;
import java.util.List;

/**
 * 节假日Service接口
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Oct 22 09:16:32 CST 2020
 */
public interface DayOffService extends BaseService<DayOffEntity> {

    /************自动生成**************/
    List<DayOffVo> findVo(DayOffVo vo);

        DayOffVo getVo(Long id);

     int updateVo(DayOffVo vo);

       int saveVo(DayOffVo vo);

    void downLoad(HttpServletResponse response, List<DayOffVo> list);

    /***********BACK***********/




    /***********API***********/

    List<DayOffEntity> findByDate(Date start,Date end);


}
